]> dgit.raspbian.org Git - gnome-shell.git/commit
st-theme-node: Move some allocation-independent textures back to the theme node
authorJasper St. Pierre <jstpierre@mecheye.net>
Fri, 5 Apr 2013 01:22:34 +0000 (21:22 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 3 May 2013 18:44:03 +0000 (14:44 -0400)
commitc29aaa047d7bf7bf9d96bff02f7669370739f58f
tree939fd669da7a4c832d2288df510c55b227b62f9d
parent49064ed56d36753af078e4d535c4aeb6e0904d6e
st-theme-node: Move some allocation-independent textures back to the theme node

The background image, background image shadow and border image are
allocation-indepedent, so we can keep these in the node. Given that these are
are likely cached in the StTextureCache, the slight increase in code complexity
may not be worth caching these textures and materials -- we might be better off
just computing when we need to paint.

https://bugzilla.gnome.org/show_bug.cgi?id=697274
src/st/st-theme-node-drawing.c
src/st/st-theme-node-private.h
src/st/st-theme-node.c
src/st/st-theme-node.h
src/st/st-widget.c